package com.duruikang.LeaveAPI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author szh
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("examine_logic")
public class ExamineLogic implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId("logic_id")
    private Integer logicId;
    /**
     * 请假单类型
     */
    @TableField("type")
    private Integer type;
    /**
     *  请假单初始状态
     */
    @TableField("old_state")
    private Integer oldState;
    /**
     * 操作，审批结果
     */
    @TableField("operation")
    private Integer operation;
    /**
     * 审批后状态
     */
    @TableField("new_state")
    private Integer newState;
    /**
     * 说明
     */
    @TableField("comments")
    private String comments;
}
